package cn.exrick.xboot.shop.service.impl;

import cn.exrick.xboot.shop.entity.ShopOrder;
import cn.exrick.xboot.shop.entity.vo.OrderVo;
import cn.exrick.xboot.shop.mapper.ShopOrderMapper;
import cn.exrick.xboot.shop.service.IShopOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* <p>
    * 客户预约  服务实现类
    * </p>
*
* @author yuhaifei
* @since 2022-01-26
*/
@Service
public class ShopOrderServiceImpl extends ServiceImpl<ShopOrderMapper, ShopOrder> implements IShopOrderService {

    @Autowired
    private ShopOrderMapper orderMapper;

    @Override
    public List<OrderVo> getOrderList(String ymonth) {
        return orderMapper.getOrderList(ymonth);
    }
}
